package com.rentalcar.rental_car.dao;

import com.rentalcar.rental_car.entity.News;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface NewsMapper {
    List<News> getNewsAll();
    News getNewsContent(News news);
    int add(News news);
    int update(News news);
    int delete(News news);
}
